package com.itheima.service.db;

import com.itheima.domain.UmsResourceCategory;

import java.util.List;

public interface UmsResourceCategoryService {
    List<UmsResourceCategory> listAll();

    /**
     * 修改后台资源分类
     * @param id
     * @param umsResourceCategory
     */
    void resourceCategoryUpdate(Long id,UmsResourceCategory umsResourceCategory);

    /**
     * 根据ID删除后台资源
     * @param id
     */
    void delete(Long id);

    /**
     * 添加后台资源分类
     * @param umsResourceCategory
     */
    void save(UmsResourceCategory umsResourceCategory);
}
